{foreach item=p key=name from=$plugin}
	{assign var=tpl value=$p.code|cat:'/include/module_container.inc.html'}
	{if $p.code != '' && $p.id|in_array:$smarty.session.ADMIN_LOGIN.SITE[$smarty.session.DASH_BOARD.SITE_ID] && file_exists($template_dir[0]|cat:$tpl)}{include file=$tpl size=$size}{/if}
{/foreach}
